package com.tinycloud.miracll.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 品管号控制参数设置主
对象 品管号工艺控制参数_主表
 * 
 * @author ruoyi
 * @date 2021-06-25
 */
public class ErpProductQCMProcessCtrlMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产线代码 */
    @Excel(name = "产线代码")
    private String prodLineCode;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String productType;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 牌号 */
    @Excel(name = "牌号")
    private String shopSign;

    /** 参数设定人 */
    @Excel(name = "参数设定人")
    private String createUser;

    /** 设定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 装置 */
    @Excel(name = "装置")
    private String device;

    /** ExcelServerRCID */
    @Excel(name = "ExcelServerRCID")
    private String excelServerRCID;

    /** 品管号控制参数设置明细信息 */
    private List<ErpProductQCMProcessCtrlDetail> erpProductQCMProcessCtrlDetailList;

    public void setProdLineCode(String prodLineCode) 
    {
        this.prodLineCode = prodLineCode;
    }

    public String getProdLineCode() 
    {
        return prodLineCode;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setQcNum(String qcNum) 
    {
        this.qcNum = qcNum;
    }

    public String getQcNum() 
    {
        return qcNum;
    }
    public void setShopSign(String shopSign) 
    {
        this.shopSign = shopSign;
    }

    public String getShopSign() 
    {
        return shopSign;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setDevice(String device) 
    {
        this.device = device;
    }

    public String getDevice() 
    {
        return device;
    }
    public void setExcelServerRCID(String excelServerRCID) 
    {
        this.excelServerRCID = excelServerRCID;
    }

    public String getExcelServerRCID() 
    {
        return excelServerRCID;
    }

    public List<ErpProductQCMProcessCtrlDetail> getErpProductQCMProcessCtrlDetailList()
    {
        return erpProductQCMProcessCtrlDetailList;
    }

    public void setErpProductQCMProcessCtrlDetailList(List<ErpProductQCMProcessCtrlDetail> erpProductQCMProcessCtrlDetailList)
    {
        this.erpProductQCMProcessCtrlDetailList = erpProductQCMProcessCtrlDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prodLineCode", getProdLineCode())
            .append("productType", getProductType())
            .append("qcNum", getQcNum())
            .append("shopSign", getShopSign())
            .append("createUser", getCreateUser())
            .append("createDate", getCreateDate())
            .append("device", getDevice())
            .append("excelServerRCID", getExcelServerRCID())
            .append("erpProductQCMProcessCtrlDetailList", getErpProductQCMProcessCtrlDetailList())
            .toString();
    }
}
